package com.meixiang.entity.shopping.result;

import com.meixiang.entity.shopping.TransportEntity;

import java.util.List;

/**
 * 更新订单总价格接口Result
 *
 * @author LZRUI
 */
public class CalculatePriceResult {

    private String couponPrice; // 优惠价格
    private String couponId; // 优惠卷id
    private String totalPrice; // 总价
    private String goodsTotalCount; // 商品总数
    private List<TransportEntity> transport; // 运费
    private String couponTitle; // 优惠劵标题
    private String isPayPoint; // 可用积分
    private String pointBalance; // 积分金额
    private String pointText;  // 积分文本;

    public CalculatePriceResult() {
    }

    public CalculatePriceResult(String couponPrice, String couponId, String totalPrice, String goodsTotalCount, List<TransportEntity> transport, String couponTitle, String isPayPoint, String pointBalance, String pointText) {
        this.couponPrice = couponPrice;
        this.couponId = couponId;
        this.totalPrice = totalPrice;
        this.goodsTotalCount = goodsTotalCount;
        this.transport = transport;
        this.couponTitle = couponTitle;
        this.isPayPoint = isPayPoint;
        this.pointBalance = pointBalance;
        this.pointText = pointText;
    }

    public String getCouponPrice() {
        return couponPrice == null ? "" : couponPrice;
    }

    public void setCouponPrice(String couponPrice) {
        this.couponPrice = couponPrice;
    }

    public String getCouponId() {
        return couponId == null ? "" : couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public String getTotalPrice() {
        return totalPrice == null ? "" : totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getGoodsTotalCount() {
        return goodsTotalCount == null ? "" : goodsTotalCount;
    }

    public void setGoodsTotalCount(String goodsTotalCount) {
        this.goodsTotalCount = goodsTotalCount;
    }

    public List<TransportEntity> getTransport() {
        return transport;
    }

    public void setTransport(List<TransportEntity> transport) {
        this.transport = transport;
    }

    public String getCouponTitle() {
        return couponTitle == null ? "" : couponTitle;
    }

    public void setCouponTitle(String couponTitle) {
        this.couponTitle = couponTitle;
    }

    public String getIsPayPoint() {
        return isPayPoint == null ? "" : isPayPoint;
    }

    public void setIsPayPoint(String isPayPoint) {
        this.isPayPoint = isPayPoint;
    }

    public String getPointBalance() {
        return pointBalance == null ? "" : pointBalance;
    }

    public void setPointBalance(String pointBalance) {
        this.pointBalance = pointBalance;
    }

    public String getPointText() {
        return pointText == null ? "" : pointText;
    }

    public void setPointText(String pointText) {
        this.pointText = pointText;
    }
}
